package com.dd.config;

import org.springframework.context.annotation.*;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@ComponentScan("com.dd")
@PropertySource({"classpath:database.properties"})
@Import({JdbcConfig.class, MybatisConfig.class})
@EnableTransactionManagement // 开启事务管理
public class SpringConfig {
}
